package com.geline.mybatisplus.interceptor;

import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapping.MappedStatement;

import java.sql.SQLException;

/**
 * mybatis后置拦截器
 *
 * @author mx
 * @date 2025/8/25
 */
public interface InnerAfterInterceptor {

    default boolean willDoUpdate(Executor executor, MappedStatement ms, Object parameter) throws SQLException, ClassNotFoundException {
        return true;
    }

    default boolean afterUpdate(Executor executor, MappedStatement ms, Object parameter) throws SQLException {
        return true;
    }
}
